#!/usr/bin/env python3

def decor(func):
    def inner(*args, **kargs):
        print("run start....")
        func(*args, **kargs)
        print("run end....")
    return inner

def p(func):
    def inner():
        return "<p>" + func() + "</p>"
    return inner

@decor
def run(*args, **kargs):
    print("run.....", args, kargs)

@p
def txt():
    return "hello world"

def main():
    #  d = decor(run)
    #  d()
    run(11, 22, name="tom")
    print(txt())

if __name__ == "__main__":
    main()
